<template>
    <div id="app">
        <router-view />
    </div>
</template>

<script>
    export default {
        name: 'app',
        created() {
            this.aaa();
        },
        methods: {
            async aaa() {
                let res = await this.$axios.user.addUser({
                    username: 'allen',
                    password: '123456',
                    email: 'sk13710681303@163.com',
                    mobile: '13710681303'
                });

                console.log('res', res);
            }
        }
    };

</script>

<style>
    #app {
        height: 100%;
    }

</style>
